home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Development / Source / Mailcheck Source / drvr src / mmc_notify.h < prev    next >
Text File  |  1990-08-09  |  882b  |  35 lines

  1. /*
  2.  *
  3.  * mac mail check notification module
  4.  * by Aaron Wohl (aw0g+@andrew.cmu.edu) jul 1990
  5.  * Carnegie-Mellon University
  6.  * Pittsburgh, PA 15213-3890
  7.  * (412)-268-5032
  8.  *
  9.  */
  10.  
  11. #define MMC_note_mail  (0)
  12. #define MMC_note_error (1)
  13. #define MMC_note_kinds (2)
  14.  
  15.  
  16. struct note_vars_R {
  17.     char **snd_handle;        /*handle to mail sounds*/
  18.     char **sicn_handle[MMC_note_kinds];        /*handle to mail/error sicn*/
  19.      NMRec post_note_rec;    /*for posting dialogs/sound*/
  20.      NMRec blink_note_rec;    /*for blinking*/
  21. };
  22. typedef struct note_vars_R note_vars,*note_vars_pt;
  23.  
  24. void mmc_note_new_error(void);
  25. void mmc_note_no_error(void);
  26. void mmc_note_new_mail(void);
  27. void mmc_note_old_mail(void);
  28. void mmc_note_no_mail(void);
  29. void mmc_note_uninit(void);
  30. void mmc_note_init(void);
  31. void set_event(int evnum,void (*dowhat)(),long dowhen);
  32. int mmc_note_sound_init(int new_sound_res_num);
  33. void mmc_note_done(void);
  34.  
  35.